home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11470 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: pubxfer.news.psi.net!usenet
  2. From: bweiss@somehost.somedomain (Bill Weiss)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland 4.5 application won't work on its own
  5. Date: 14 Mar 1996 14:38:59 GMT
  6. Organization: ASSET InterTech, Inc.
  7. Message-ID: <4i9b23$m5g@client1.news.psi.net>
  8. References: <4i3fhh$bor@dole.uninett.no>
  9. NNTP-Posting-Host: host48.asset-intertech.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.7
  13.  
  14. In article <4i3fhh$bor@dole.uninett.no>, Kristoffer.Moe@nifu.no says...
  15. >
  16. >I have recently developed an application with Borland C++ 
  17. >4.5 and OWL. It is based on a TDecoratedFrame parent with a TDialog as a 
  18. >child. The program works nicely (acceptably that is) when compiled and run 
  19. >'within' Borland IDE. However, when it is started on its own, whithout the 
  20. >Borland IDE loaded in the machine at all, it displays the TDecoratedFrame, 
  21. >and generates a General Protecton Fault. With Winspector running in the 
  22. >background it works again. The application is based on AppExpert.
  23. >
  24. >Ideas, anyone?
  25. >
  26. >
  27. >Yours,
  28. >
  29. >
  30. >
  31. >Kristoffer Moe
  32. >
  33. >Kristoffer.Moe@nifu.no
  34. >
  35.  
  36. I'm assuming that your using Borland's Custom Control's, in which case I 
  37. experienced the same problem. Whats happening is that when you run you 
  38. application within the IDE, the IDE is loading the BWCC DLL which your 
  39. application needs to run as well as the IDE. To make your application load the 
  40. BWCC DLL place the method EnableBWCC( ) in the InitMainWindow method of your 
  41. application class. It should be the first thing called. Hope this helps.
  42.  
  43. Bill
  44.  
  45.